package com.thymeleaf.demo.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author sunny
 * @since 2020-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GoodsFormat implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "format_id", type = IdType.AUTO)
    private Integer formatId;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 检索（判断）key
     */
    private String skuKey;

    /**
     * 价钱
     */
    private BigDecimal price;

    /**
     * 乐观锁
     */
    private Integer version;

    /**
     * 更新时间
     */
    private Integer updatetime;

    /**
     * 创建时间
     */
    private Integer createtime;

    /**
     * 库存
     */
    private Integer stock;

    /**
     * 属性值名称组合
     */
    private String attrValueNames;

    /**
     * 属性值id组合，多个id用逗号隔开
     */
    private String attrValueIds;

    private Integer deleteFlag;


}
